package com.lesso.lpq.sunflower.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.lpq.sunflower.pojo.dto.DeviceDTO;
import com.lesso.lpq.sunflower.pojo.dto.DeviceQueryDTO;
import com.lesso.lpq.sunflower.pojo.vo.DeviceVO;

/**
 * @ClassName : IDeviceService
 * @Description :
 * @Author : 罗培棋
 * @Date: 2025-07-05 08:50
 */
public interface IDeviceService {
    Long save(DeviceDTO dto);

    Page<DeviceVO> page(DeviceQueryDTO dto);

    Page<DeviceVO> customPage(DeviceQueryDTO dto);

    void deleteById(Long id);

//    void updateByIdCard(String deviceCode);


    DeviceVO getByDeviceCode(String deviceCode);
}
